Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Shader Characteristics


Q3Shader_SetUBoundary

You can use the Q3Shader_SetUBoundary function to set the current boundary-handling method for u values that are outside the range 0 to 1.

TQ3Status Q3Shader_SetUBoundary (
TQ3ShaderObject shader, 
TQ3ShaderUVBoundary uBoundary);
shader
A shader.
uBoundary
A value that indicates the desired method of handling u values that are outside the range 0 to 1. See "Boundary-Handling Methods" on page 14-16 for a description of the values that you can pass in this parameter.
DESCRIPTION
The Q3Shader_SetUBoundary function sets the boundary-handling method for u values to be used by the shader specified by the shader parameter to the method specified by the uBoundary parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996